<template>
  <div class="background">
    <div class="among">
      <div class="title">
        <span class="size">{{ title }}</span>
        <el-divider style="margin-top: 50px"></el-divider>
      </div>
      <div>
        <span>{{ title }} ———— 主题内容</span>
      </div>
    </div>
  </div>
</template>

<script>
// import eventBus from "@/eventBus";

export default {
  name: "RightVue",
  data(){
    return{
      title: '仪表盘'
    }
  },
  created() {
    this.chuan()
  },
  methods:{
    chuan(){
      // eventBus.$on("pushMsg",(message)=>{
      //   this.title = message
      //   console.log(this.title)
      // })
    }
  }
}
</script>

<style scoped>
.background{
  height: 500px;
  padding: 60px;
  background-color: #d2cfcf;
}
.among{
  width: 100%;
  height: 300px;
  background-color: #ffffff;
}
.title{
  width: 100%;
  float: left;
  margin: 18px 0 18px 15px;
  font-size: 20px;
}
.size{
  margin: 10px 0 12px 12px;
  float: left;
}
</style>